home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ttttaaaaiiiillll((((1111)))) ttttaaaaiiiillll((((1111))))
-
-
-
- NNNNAAAAMMMMEEEE
- _tttt_aaaa_iiii_llll - deliver the last part of a file
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- _tttt_aaaa_iiii_llll [ _----_ffff ] [ _----_cccc _n_u_m_b_e_r | _----_nnnn _n_u_m_b_e_r ] [ _f_i_l_e ]
- _tttt_aaaa_iiii_llll [ _++++____ _n_u_m_b_e_r _llll_bbbb_cccc_rrrr ] [ _f_i_l_e ]
- _tttt_aaaa_iiii_llll [ _----_llll_bbbb_cccc_rrrr ] [ _f_i_l_e ]
- _tttt_aaaa_iiii_llll [ _++++____ _n_u_m_b_e_r _llll_bbbb_cccc_ffff ] [ _f_i_l_e ]
- _tttt_aaaa_iiii_llll [ _----_llll_bbbb_cccc_ffff ] [ _f_i_l_e ]
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _tttt_aaaa_iiii_llll copies the named file to the standard output beginning at a
- designated place. If no file is named, the standard input is used.
-
- Copying begins at distance _++++_n_u_m_b_e_r from the beginning, or _----_n_u_m_b_e_r from
- the end of the input (if _n_u_m_b_e_r is null, the value 10 is assumed). If
- the _----_cccc or _----_nnnn options are used, _n_u_m_b_e_r is assumed to be negative unless a
- _++++ sign is prepended. _N_u_m_b_e_r is counted in units of lines, blocks, or
- characters, according to the appended/prepended option _llll/_----_nnnn, _bbbb, or _cccc/_----_cccc.
- When no units are specified, counting is by lines. _tttt_aaaa_iiii_llll processes
- supplementary code set characters according to the locale specified in
- the _LLLL_CCCC______CCCC_TTTT_YYYY_PPPP_EEEE environment variable [see _LLLL_AAAA_NNNN_GGGG on _eeee_nnnn_vvvv_iiii_rrrr_oooo_nnnn(5)], except that
- multibyte characters may not be displayed correctly when the _----_bbbb and _----_cccc
- options are specified.
-
- With the _----_ffff (follow) option, if the input file is not a pipe, the program
- will not terminate after the line of the input file has been copied, but
- will enter an endless loop, wherein it sleeps for a second and then
- attempts to read and copy further records from the input file. Thus it
- may be used to monitor the growth of a file that is being written by some
- other process. For example, the command:
-
- _tttt_aaaa_iiii_llll _----_ffff _ffff_rrrr_eeee_dddd
-
- will print the last ten lines of the file _ffff_rrrr_eeee_dddd, followed by any lines
- that are appended to _ffff_rrrr_eeee_dddd between the time _tttt_aaaa_iiii_llll is initiated and killed.
- As another example, the command:
-
- _tttt_aaaa_iiii_llll _----_1111_5555_cccc_ffff _ffff_rrrr_eeee_dddd
-
- will print the last 15 characters of the file _ffff_rrrr_eeee_dddd, followed by any lines
- that are appended to _ffff_rrrr_eeee_dddd between the time _tttt_aaaa_iiii_llll is initiated and killed.
-
- The _rrrr option copies lines from the specified starting point relative to
- the end of the file (regardless of the sign) in reverse order. The
- default for _rrrr is to print the entire file in reverse order.
-
- The _rrrr and _ffff options are mutually exclusive.
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- ttttaaaaiiiillll((((1111)))) ttttaaaaiiiillll((((1111))))
-
-
-
- FILES
- _////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_llll_oooo_cccc_aaaa_llll_eeee_////_l_o_c_a_l_e_////_LLLL_CCCC______MMMM_EEEE_SSSS_SSSS_AAAA_GGGG_EEEE_SSSS_////_uuuu_xxxx_cccc_oooo_rrrr_eeee_...._aaaa_bbbb_iiii
- language-specific message file [See _LLLL_AAAA_NNNN_GGGG on _eeee_nnnn_vvvv_iiii_rrrr_oooo_nnnn (5).]
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- _cccc_aaaa_tttt(1), _hhhh_eeee_aaaa_dddd(1), _mmmm_oooo_rrrr_eeee(1), _pppp_gggg(1), _tttt_aaaa_iiii_llll(1), _dddd_dddd(1M)
-
- NNNNOOOOTTTTEEEESSSS
- Tails relative to the end of the file are stored in a buffer, and thus
- are limited in length. Various kinds of anomalous behavior may happen
- with character special files. The _tttt_aaaa_iiii_llll command will only tail the last
- 256 Kbytes of a file regardless of its line count.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-